/// FinanceTeamQuoteUpdateDto
class FinanceTeamQuoteUpdateDto {
  /// 报价id
  final int quoteId;
  /// 美元兑换奈拉的汇率
  final String? rate;
  /// 免除手续费的最小金额额度
  final int? exemptFeeMinAmountLimit;
  /// 手续费，美元
  final String? fee;

  FinanceTeamQuoteUpdateDto({
    required this.quoteId,
    this.rate,
    this.exemptFeeMinAmountLimit,
    this.fee,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['quoteId'] = quoteId;
    if (rate != null) data['rate'] = rate;
    if (exemptFeeMinAmountLimit != null) data['exemptFeeMinAmountLimit'] = exemptFeeMinAmountLimit;
    if (fee != null) data['fee'] = fee;
    return data;
  }

  factory FinanceTeamQuoteUpdateDto.fromJson(Map<String, dynamic> json) {
    return FinanceTeamQuoteUpdateDto(
      quoteId: json['quoteId'],
      rate: json['rate'],
      exemptFeeMinAmountLimit: json['exemptFeeMinAmountLimit'],
      fee: json['fee'],
    );
  }
}